﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EventManager.Model.Factory
{
    public interface IRepository<T>
    {
        void Add(T entity);
        T Single(Guid id);
        void Delete(T entity);
        IList<T> GetList();
        void Update(T entity);
    }
}
